IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityQueryPager<T> Class : EntityQueryPager<T> Constructor |
'Declaration
Public Function New( _ ByVal baseQuery As IEntityQuery(Of T), _ ByVal sortSelector As ISortSelector, _ ByVal pageSize As Integer _ )
'Usage
Dim baseQuery As IEntityQuery(Of T) Dim sortSelector As ISortSelector Dim pageSize As Integer Dim instance As New EntityQueryPager(Of T)(baseQuery, sortSelector, pageSize)
public EntityQueryPager<T>( IEntityQuery<T> baseQuery, ISortSelector sortSelector, int pageSize )
Exception | Description |
---|---|
System.ArgumentException | Thrown during argument validation |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2